package com.webxiaohua.pattern.simplefactory.product;

import com.webxiaohua.pattern.simplefactory.IProduct;
import com.webxiaohua.pattern.simplefactory.TypeMask;

/**
 * @Author: shenxinhua
 * @Date: 10/14/21 1:14 PM
 * @Description:
 */
@TypeMask("ProductB")
public class ProductB implements IProduct {
    @Override
    public void showName() {
        System.out.println("I'm productB");
    }
}
